import React, { memo } from 'react'
import { BrowserRouter } from 'react-router-dom';
import { renderRoutes } from 'react-router-config';


import routes from './router'
// import Login from './pages/login'

export default memo(function App() {
    return (
        <BrowserRouter>
            {/* <Login /> */}
            {renderRoutes(routes)}
        </BrowserRouter>
    )
})
